#include "DestroyGameObjectMessage.h"
#include "MessageID.h"
DestroyGameObjectMessage::DestroyGameObjectMessage(GameObject* pObject) : Message(MessageID::MSG_DESTROY_OBJECT)
{
	m_pObject = pObject;
	m_pObject->AddRef();
}


DestroyGameObjectMessage::~DestroyGameObjectMessage()
{
	m_pObject->Release();
	m_pObject = nullptr;
}
